#ifndef SAVEGNSS_H
#define SAVEGNSS_H

#include "savebase.h"

class SaveGNSS : public SaveBase
{
    Q_OBJECT
public:
    explicit SaveGNSS(QObject *parent = nullptr);

    bool saveData(const QString &data);

    void createNewFile();

public slots:
    void onWorking(const QString ip, const quint16 port, const QByteArray arr);

    void onInitTimer()override{}     //初始化定时器, 本类不需要该函数

private:
    quint16 m_saveCount = 0;  //设置存储上限变量
};

#endif // SAVEGNSS_H
